package com.qdevelop.control.action;

import com.qdevelop.control.bean.QueryBean;
import com.qdevelop.control.bean.QueryConfigBean;
import com.qdevelop.control.bean.ResultBean;
import com.qdevelop.model.service.database.DBFactory;
import com.qdevelop.model.utils.UtilsFactory;

@SuppressWarnings("serial")
public class RoleCacheAction extends QDevelopBaseAction{
	private ResultBean rb;
	public String execute() throws Exception {
		QueryBean qb1 = UtilsFactory.qdevelopUtils().getQueryBean(new QueryConfigBean("quaryRoles"));
		rb = DBFactory.getInstance().getQueryResult(qb1);
		return SUCCESS;
	}
	public ResultBean getRb() {
		return rb;
	}
	public void setRb(ResultBean rb) {
		this.rb = rb;
	}
	
}
